package com.wy.tingshu.view_object;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * view_object（VO）：描述展示出去的数据
 **/
@Data
public class StudioTrackView {
    //只展示当前用户需要的信息，其他的不展示
    public UserVO currentUser;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public PaginationView pagination;
    @JsonInclude(JsonInclude.Include.NON_NULL)//只有这个属性非null时才会进行序列化
    public List<ListTrackView> trackList;
}
